package com.rui.cn.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableEurekaClient
@EnableFeignClients(basePackages= {"com.rui.cn.feignservice"})
@ComponentScan(basePackages = {"com.rui.cn.consumer.*","com.rui.cn.feignservice"})
public class CloudPermissionWebApplication {

	public static void main(String[] args) {
		SpringApplication.run(CloudPermissionWebApplication.class, args);
	}
}
